/*
 * PorePressureTimeDerivativeKernel.h
 *  基于Darcy定理的多孔介质动量方程中的压力时间导数项
 *  Created on: 2017年7月24日
 *      Author: liuxiao
 */
#pragma once

#include "TimeDerivative.h"
#include "Material.h"
#include "../../include/materials/PyrolysisGasPropertyMaterial.h"


class PorePressureTimeDerivativeKernel : public TimeDerivative
{
public:
	PorePressureTimeDerivativeKernel(const InputParameters & parameters);

protected:
  virtual Real computeQpResidual();
  virtual Real computeQpJacobian();

private:
  const MaterialProperty<Real> & _porosity;
  const MaterialProperty<Real> & _rhog;
  const MaterialProperty<Real>& _porosity_old;
  const MaterialProperty<Real>& _rhog_old;
};

template<>
InputParameters validParams<PorePressureTimeDerivativeKernel>();
